permissions.htmlHTMLudog$πùΔ§πùΔ§ÅÅ'Ø Monkeybread Realbasic plugin - Documentation - Permissions

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class Permissions

class, Permissions Fr, 17. Mai 2002
Mac OS Classic: does nothing. Mac OS Carbon: Works. Windows: does nothing.
Function: Gives access to the current Permissions of a file.
Example:
dim p as Permissions
p=file.Permissions
Notes: It should be possible to add a setmode function if needed. Just ask if you need this.

GroupID as integer

property, Permissions Fr, 17. Mai 2002
Mac OS Classic: Works. Mac OS Carbon: -> 0. Windows: -> 0.
Function: The Group ID for this file.

Mode as integer

property, Permissions Mo, 3. Jun 2002
Mac OS Classic: Works. Mac OS Carbon: -> 0. Windows: -> 0.
Function: The mode for this file.
Notes:
Some constants:

AccessOwner &h80000000
AccessBlankAccess &h10000000
AccessUserWrite &h04000000
AccessUserRead &h02000000
AccessUserSearch &h01000000
AccessEveryoneWrite &h00040000
AccessEveryoneRead &h00020000
AccessEveryoneSearch&h00010000
AccessGroupWrite &h00000400
AccessGroupRead &h00000200
AccessGroupSearch &h00000100
AccessOwnerWrite &h00000004
AccessOwnerRead &h00000002
AccessOwnerSearch &h00000001

UserID as integer

property, Permissions Fr, 17. Mai 2002
Mac OS Classic: Works. Mac OS Carbon: -> 0. Windows: -> 0.
Function: The User ID for this file.
Notes: e.g. User 501 is normally the first user.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ